package com.leadership.api.rao;

import com.demo2do.core.entity.result.HttpResult;
import com.demo2do.core.http.HttpMethod;
import com.demo2do.core.http.annotation.Rao;
import com.demo2do.core.http.annotation.RaoAuth;
import com.demo2do.core.http.annotation.RaoConfig;
import com.demo2do.core.http.annotation.RaoMapping;
import com.demo2do.core.http.annotation.RaoUrl;

/**
 * @author haiyan_xiao
 *
 */
@Rao
public interface UMURao {

    /**
     * 获取考试小节的参与数据
     * @param url 带参数的url
     * @param authorization
     * @return
     */
    @RaoMapping(method = HttpMethod.GET)
    @RaoConfig(parse = false, contentType = "application/json;charset=UTF-8")
    public HttpResult umuGet(@RaoUrl String url,  @RaoAuth("Basic") String authorization);
}
